package com.xhai.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * <p>
 * 权限资源关联表
 * </p>
 *
 * @author xhai
 * @since 2025-05-24
 */
@Getter
@Setter
@ToString
@TableName("sys_perm_resource")
@Schema(name = "SysPermResource", description = "权限资源关联表")
public class SysPermResource implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 权限ID
     */
    @Schema(description = "权限ID")
    @TableField(value = "PERM_ID")
    private Long permId;

    /**
     * 资源ID
     */
    @Schema(description = "资源ID")
    @TableField(value = "RESOURCE_ID")
    private Long resourceId;
}
